package com.taotao.content.service;

import com.taotao.common.pojo.EasyUITreeNode;
import com.taotao.common.pojo.TaotaoResult;
import com.taotao.content.service.pojo.Ad1Node;
import com.taotao.pojo.TbContent;

import java.util.List;

public interface ContentService {

    List<EasyUITreeNode> commonTree(Long parentId);
    TaotaoResult createCategory(Long parentId ,String name);
    TaotaoResult updateCategory(Long id,String name);
    TaotaoResult deleteCategory(Long id);
    TaotaoResult contentSave(TbContent content);
    List<TbContent> getContentList(Long cid);
}
